<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::gapi::onnx::Params&lt; Net &gt; Class Template Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d4/d1c/namespacecv_1_1gapi.html">gapi</a></li><li class="navelem"><a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html">onnx</a></li><li class="navelem"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="../../d3/d13/classcv_1_1gapi_1_1onnx_1_1Params-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::gapi::onnx::Params&lt; Net &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;opencv2/gapi/infer/onnx.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abcaeff710d4facbbff3f429a5065a4d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#abcaeff710d4facbbff3f429a5065a4d3">Params</a> (const std::string &amp;model)</td></tr>
<tr class="separator:abcaeff710d4facbbff3f429a5065a4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c98bcf73c51c35e0803aa2611e6339d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d3a/classcv_1_1gapi_1_1GBackend.html">GBackend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a8c98bcf73c51c35e0803aa2611e6339d">backend</a> () const</td></tr>
<tr class="separator:a8c98bcf73c51c35e0803aa2611e6339d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee119f429bb772c26fc3abe15120148"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a6ee119f429bb772c26fc3abe15120148">cfgInputLayers</a> (const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::In &amp;ll)</td></tr>
<tr class="separator:a6ee119f429bb772c26fc3abe15120148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b6f122ae856195af563f5b6fc3f5220"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a4b6f122ae856195af563f5b6fc3f5220">cfgMeanStd</a> (const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::NormCoefs &amp;m, const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::NormCoefs &amp;s)</td></tr>
<tr class="separator:a4b6f122ae856195af563f5b6fc3f5220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31d590b499b4ef7b9dd097d46764a4d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a31d590b499b4ef7b9dd097d46764a4d3">cfgNormalize</a> (const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::Normalize &amp;n)</td></tr>
<tr class="separator:a31d590b499b4ef7b9dd097d46764a4d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206130fef0d4d7b8f0413985aa1fa3c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a206130fef0d4d7b8f0413985aa1fa3c4">cfgOutputLayers</a> (const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::Out &amp;ll)</td></tr>
<tr class="separator:a206130fef0d4d7b8f0413985aa1fa3c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab74ed1711d7eb57f7fd32c4ea118939b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#ab74ed1711d7eb57f7fd32c4ea118939b">cfgPostProc</a> (const std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;out_metas, const <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;pp)</td></tr>
<tr class="memdesc:ab74ed1711d7eb57f7fd32c4ea118939b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures graph output and sets the post processing function from user.  <a href="#ab74ed1711d7eb57f7fd32c4ea118939b">More...</a><br /></td></tr>
<tr class="separator:ab74ed1711d7eb57f7fd32c4ea118939b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab603825949d90585ce2108f139f91b60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#ab603825949d90585ce2108f139f91b60">cfgPostProc</a> (std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;&amp;out_metas, <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;&amp;pp)</td></tr>
<tr class="separator:ab603825949d90585ce2108f139f91b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32fdfba4144b521394d45f31fbb5a3fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a32fdfba4144b521394d45f31fbb5a3fb">cfgPostProc</a> (const std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;out_metas, const <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;pp, const std::vector&lt; std::string &gt; &amp;names_to_remap)</td></tr>
<tr class="separator:a32fdfba4144b521394d45f31fbb5a3fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11fbbc3142dccec75f7e47e6a54a0c3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a11fbbc3142dccec75f7e47e6a54a0c3e">cfgPostProc</a> (std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;&amp;out_metas, <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;&amp;pp, std::vector&lt; std::string &gt; &amp;&amp;names_to_remap)</td></tr>
<tr class="separator:a11fbbc3142dccec75f7e47e6a54a0c3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa018adc593be65e7350c9e9c14ff8fd5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt; Net &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#aa018adc593be65e7350c9e9c14ff8fd5">constInput</a> (const std::string &amp;layer_name, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp;data, <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#af9a00645def019ccc3f7c33699af063b">TraitAs</a> hint=<a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#af9a00645def019ccc3f7c33699af063bace2f94540fa9914e8fe6f0de9817717b">TraitAs::TENSOR</a>)</td></tr>
<tr class="separator:aa018adc593be65e7350c9e9c14ff8fd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d1c05f901d0bfc9d2d7852fa7f0cae4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d9/dc4/classcv_1_1util_1_1any.html">cv::util::any</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a5d1c05f901d0bfc9d2d7852fa7f0cae4">params</a> () const</td></tr>
<tr class="separator:a5d1c05f901d0bfc9d2d7852fa7f0cae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81710154d8640c95ce2dc16fc60be860"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a81710154d8640c95ce2dc16fc60be860">tag</a> () const</td></tr>
<tr class="separator:a81710154d8640c95ce2dc16fc60be860"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a4940ad03075c04bafede81482740f720"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d41/structcv_1_1gapi_1_1onnx_1_1detail_1_1ParamDesc.html">detail::ParamDesc</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html#a4940ad03075c04bafede81482740f720">desc</a></td></tr>
<tr class="separator:a4940ad03075c04bafede81482740f720"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abcaeff710d4facbbff3f429a5065a4d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcaeff710d4facbbff3f429a5065a4d3">&#9670;&nbsp;</a></span>Params()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::<a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a> </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8c98bcf73c51c35e0803aa2611e6339d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c98bcf73c51c35e0803aa2611e6339d">&#9670;&nbsp;</a></span>backend()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d3a/classcv_1_1gapi_1_1GBackend.html">GBackend</a> <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::backend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6ee119f429bb772c26fc3abe15120148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ee119f429bb772c26fc3abe15120148">&#9670;&nbsp;</a></span>cfgInputLayers()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgInputLayers </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::In &amp;&#160;</td>
          <td class="paramname"><em>ll</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b6f122ae856195af563f5b6fc3f5220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b6f122ae856195af563f5b6fc3f5220">&#9670;&nbsp;</a></span>cfgMeanStd()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgMeanStd </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::NormCoefs &amp;&#160;</td>
          <td class="paramname"><em>m</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::NormCoefs &amp;&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a31d590b499b4ef7b9dd097d46764a4d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31d590b499b4ef7b9dd097d46764a4d3">&#9670;&nbsp;</a></span>cfgNormalize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgNormalize </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::Normalize &amp;&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a206130fef0d4d7b8f0413985aa1fa3c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a206130fef0d4d7b8f0413985aa1fa3c4">&#9670;&nbsp;</a></span>cfgOutputLayers()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgOutputLayers </td>
          <td>(</td>
          <td class="paramtype">const typename <a class="el" href="../../d2/dbe/structcv_1_1gapi_1_1onnx_1_1PortCfg.html">PortCfg</a>&lt; Net &gt;::Out &amp;&#160;</td>
          <td class="paramname"><em>ll</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab74ed1711d7eb57f7fd32c4ea118939b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab74ed1711d7eb57f7fd32c4ea118939b">&#9670;&nbsp;</a></span>cfgPostProc() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgPostProc </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>out_metas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;&#160;</td>
          <td class="paramname"><em>pp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Configures graph output and sets the post processing function from user. </p>
<p>The function is used for the case of infer of networks with dynamic outputs. Since these networks haven't known output parameters needs provide them for construction of output of graph. The function provides meta information of outputs and post processing function. Post processing function is used for copy information from ONNX infer's result to output of graph which is allocated by out meta information.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">out_metas</td><td>out meta information. </td></tr>
    <tr><td class="paramname">pp</td><td>post processing function, which has two parameters. First is onnx result, second is graph output. Both parameters is std::map that contain pair of layer's name and <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">cv::Mat</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to object of class <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>. </dd></dl>

</div>
</div>
<a id="ab603825949d90585ce2108f139f91b60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab603825949d90585ce2108f139f91b60">&#9670;&nbsp;</a></span>cfgPostProc() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgPostProc </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>out_metas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>pp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The function has rvalue parameters. </p>

</div>
</div>
<a id="a32fdfba4144b521394d45f31fbb5a3fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32fdfba4144b521394d45f31fbb5a3fb">&#9670;&nbsp;</a></span>cfgPostProc() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgPostProc </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>out_metas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;&#160;</td>
          <td class="paramname"><em>pp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>names_to_remap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The function has additional parameter names_to_remap. This parameter provides information about output layers which will be used for infer and in post processing function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">out_metas</td><td>out meta information. </td></tr>
    <tr><td class="paramname">pp</td><td>post processing function. </td></tr>
    <tr><td class="paramname">names_to_remap</td><td>contains names of output layers. CNN's infer will be done on these layers. Infer's result will be processed in post processing function using these names. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>reference to object of class <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>. </dd></dl>

</div>
</div>
<a id="a11fbbc3142dccec75f7e47e6a54a0c3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11fbbc3142dccec75f7e47e6a54a0c3e">&#9670;&nbsp;</a></span>cfgPostProc() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::cfgPostProc </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d0/d82/structcv_1_1GMatDesc.html">cv::GMatDesc</a> &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>out_metas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#adab664de6c184b183b729f62da973095">PostProc</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>pp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::string &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>names_to_remap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The function has rvalue parameters. </p>

</div>
</div>
<a id="aa018adc593be65e7350c9e9c14ff8fd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa018adc593be65e7350c9e9c14ff8fd5">&#9670;&nbsp;</a></span>constInput()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">Params</a>&lt;Net&gt;&amp; <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::constInput </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>layer_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &amp;&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#af9a00645def019ccc3f7c33699af063b">TraitAs</a>&#160;</td>
          <td class="paramname"><em>hint</em> = <code><a class="el" href="../../d4/d8e/namespacecv_1_1gapi_1_1onnx.html#af9a00645def019ccc3f7c33699af063bace2f94540fa9914e8fe6f0de9817717b">TraitAs::TENSOR</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5d1c05f901d0bfc9d2d7852fa7f0cae4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d1c05f901d0bfc9d2d7852fa7f0cae4">&#9670;&nbsp;</a></span>params()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d9/dc4/classcv_1_1util_1_1any.html">cv::util::any</a> <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::params </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a81710154d8640c95ce2dc16fc60be860"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81710154d8640c95ce2dc16fc60be860">&#9670;&nbsp;</a></span>tag()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::tag </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4940ad03075c04bafede81482740f720"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4940ad03075c04bafede81482740f720">&#9670;&nbsp;</a></span>desc</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Net &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d41/structcv_1_1gapi_1_1onnx_1_1detail_1_1ParamDesc.html">detail::ParamDesc</a> <a class="el" href="../../d0/d03/classcv_1_1gapi_1_1onnx_1_1Params.html">cv::gapi::onnx::Params</a>&lt; Net &gt;::desc</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/gapi/infer/<a class="el" href="../../d6/d71/onnx_8hpp.html">onnx.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:47 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
